export default {
  "msg": "操作成功",
  "code": 200,
  "data": [
    {
      "path": "",
      "component": "Layout",
      "redirect": "/index",
      "children": [
        {
          "path": "/testManage",
          "component": "testManage/index",
          "name": "TestManage",
          "meta": { "title": "测试页", "icon": "dashboard" }
        }
      ]
    },
    {
      "name": "Workbench",
      "path": "/workbench",
      "hidden": false,
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "工作台",
        "icon": "redis",
        "noCache": false,
        "link": null
      },
      "children": [
        {
          "name": "WorkbenchHome",
          "path": "home",
          "hidden": false,
          "component": "workbench/home/index",
          "meta": {
            "title": "工作台-首页",
            "icon": "cust-view",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "MyTask",
          "path": "myTask",
          "hidden": false,
          "component": "workbench/myTask/index",
          "meta": {
            "title": "我的任务",
            "icon": "form",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "MyFollowing",
          "path": "myFollowing",
          "hidden": false,
          "component": "workbench/myFollowing/index",
          "meta": {
            "title": "我的关注",
            "icon": "star",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "MyMessage",
          "path": "myMessage",
          "hidden": false,
          "component": "workbench/myMessage/index",
          "meta": {
            "title": "我的消息",
            "icon": "message",
            "noCache": false,
            "link": null
          }
        },
      ]
    },
    {
      "name": "Customer",
      "path": "/customer",
      "hidden": false,
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "客户管理",
        "icon": "peoples",
        "noCache": false,
        "link": null
      },
      "children": [
        {
          "name": "Query",
          "path": "query",
          "hidden": false,
          "component": "customer/query/index",
          "meta": {
            "title": "综合查询",
            "icon": "search",
            "noCache": false,
            "link": null
          },
        },
        {
          "name": "CustomerEdit",
          "path": "edit",
          "hidden": false,
          "component": "customer/addOrEdit/index",
          "meta": {
            "title": "客户新增/编辑",
            "icon": "edit",
            "noCache": true,
            "link": null
          },
        },
        {
          "name": "Details",
          "path": "details",
          "hidden": true,
          "component": "customer/custDetails/index",
          "meta": {
            "title": "客户详情",
            "activeMenu": "/customer/query",
            "icon": "",
          },
        },
        {
          "name": 'AddApproval',
          "path": 'addApproval',
          "hidden": true,
          "component": 'customer/addApproval/index',
          "meta": { 
            "title": '客户新增审批', 
            "activeMenu": '/workbench/myTask',
            "icon": "",
          }
        },
        {
          "name": "RelatedRelation",
          "path": "relatedRelation",
          "hidden": false,
          "component": "customer/relatedRelation/index",
          "meta": {
            "title": "关联关系管理",
            "icon": "drag",
            "noCache": false,
            "link": null
          }
        },
        // 三级菜单样例
        // {
        //   "name": "Log",
        //   "path": "log",
        //   "hidden": false,
        //   "redirect": "noRedirect",
        //   "component": "ParentView",
        //   "alwaysShow": true,
        //   "meta": {
        //       "title": "日志管理",
        //       "icon": "log",
        //       "noCache": false,
        //       "link": null
        //   },
        //   "children": [
        //       {
        //           "name": "Operlog",
        //           "path": "operlog",
        //           "hidden": false,
        //           "component": "monitor/operlog/index",
        //           "meta": {
        //               "title": "操作日志",
        //               "icon": "form",
        //               "noCache": false,
        //               "link": null
        //           }
        //       },
        //       {
        //           "name": "Logininfor",
        //           "path": "logininfor",
        //           "hidden": false,
        //           "component": "monitor/logininfor/index",
        //           "meta": {
        //               "title": "登录日志",
        //               "icon": "logininfor",
        //               "noCache": false,
        //               "link": null
        //           }
        //       }
        //   ]
        // }
      ]
    },
    {
      "name": "CustomerView",
      "path": "/customerView",
      "hidden": false,
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "客户视图",
        "icon": "cust-view",
        "noCache": false,
        "link": null
      },
      "children": [
        {
          "name": "CustomerQuery",
          "path": "customerQuery",
          "hidden": false,
          "component": "customerView/query/index",
          "meta": {
            "title": "客户查询",
            "icon": "search",
            "noCache": false,
            "link": null
          },
        },
        {
          "name": "corporateClient",
          "path": "corporateClient",
          "hidden": true,
          "component": "customerView/corporateClient/index",
          "meta": {
            "title": "客户视图",
            "icon": "cust-view",
            "noCache": true,
            "link": null
          },
        },
      ]
    },
    {
      "name": "Business",
      "path": "/business",
      "hidden": false,
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "商机管理",
        "icon": "dashboard",
      },
      "children": [
        {
          "name": "BusinessQuery",
          "path": "query",
          "hidden": false,
          "component": "business/index",
          "meta": {
            "title": "商机管理",
            "icon": "search",
            "noCache": false,
            "link": null
          },
        },
        {
          "name": "BusinessAdd",
          "path": "add",
          "hidden": true,
          "component": "business/add",
          "meta": {
            "title": "商机新增",
            "activeMenu": "/business/query",
            "icon": "",
          },
        },
        {
          "name": "BusinessEdit",
          "path": "edit",
          "hidden": true,
          "component": "business/edit",
          "meta": {
            "title": "商机编辑",
            "activeMenu": "/business/query",
            "icon": "",
          },
        },
        {
          "name": "BusinessDetails",
          "path": "details",
          "hidden": true,
          "component": "business/details",
          "meta": {
            "title": "商机详情",
            "activeMenu": "/business/query",
            "icon": "",
          },
        },
        {
          "name": "BusinessFollow",
          "path": "follow",
          "hidden": true,
          "component": "business/follow/index",
          "meta": {
            "title": "商机跟进",
            "activeMenu": "/business/query",
            "icon": "",
          },
        },
        {
          "name": "BusinessApproval",
          "path": "approval",
          "hidden": true,
          "component": "business/approval",
          "meta": {
            "title": "商机审批",
            "activeMenu": "/workbench/myTask",
            "icon": "",
          },
        },
        {
          "name": "BusinessListQuery",
          "path": "listQuery",
          "hidden": false,
          "component": "business/businessList",
          "meta": {
            "title": "商机清单查询",
            "icon": "list",
            "noCache": false,
            "link": null
          },
        },
      ]
    },
    {
      "name": "Project",
      "path": "/project",
      "hidden": false,
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "项目管理",
        "icon": "component",
      },
      "children": [
        {
          "name": "ProjectQuery",
          "path": "query",
          "hidden": false,
          "component": "project/index",
          "meta": {
            "title": "项目查询",
            "icon": "search",
            "noCache": false,
            "link": null
          },
        },
        {
          "name": "ProjectAdd",
          "path": "add",
          "hidden": true,
          "component": "project/add",
          "meta": {
            "title": "项目新增",
            "activeMenu": "/project/query",
            "icon": "",
          },
        },
        {
          "name": "ProjectEdit",
          "path": "edit",
          "hidden": true,
          "component": "project/edit",
          "meta": {
            "title": "项目编辑",
            "activeMenu": "/project/query",
            "icon": "",
          },
        },
        {
          "name": "ProjectDetails",
          "path": "details",
          "hidden": true,
          "component": "project/details",
          "meta": {
            "title": "项目详情",
            "activeMenu": "/project/query",
            "icon": "",
          },
        },
        {
          "name": "ProjectFollow",
          "path": "follow",
          "hidden": true,
          "component": "project/follow/index",
          "meta": {
            "title": "项目跟进",
            "activeMenu": "/project/query",
            "icon": "",
          },
        },
        {
          "name": "ProjectApproval",
          "path": "approval",
          "hidden": true,
          "component": "project/approval",
          "meta": {
            "title": "项目审批",
            "activeMenu": "/workbench/myTask",
            "icon": "",
          },
        },
      ]
    },
    {
      "name": "System",
      "path": "/system",
      "hidden": false,
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "系统管理",
        "icon": "system",
        "noCache": false,
        "link": null
      },
      "children": [
        {
          "name": "User",
          "path": "user",
          "hidden": false,
          "component": "system/user/index",
          "meta": {
            "title": "用户管理",
            "icon": "user",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "Role",
          "path": "role",
          "hidden": false,
          "component": "system/role/index",
          "meta": {
            "title": "角色管理",
            "icon": "peoples",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "Menu",
          "path": "menu",
          "hidden": false,
          "component": "system/menu/index",
          "meta": {
            "title": "菜单管理",
            "icon": "tree-table",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "Dept",
          "path": "dept",
          "hidden": false,
          "component": "system/dept/index",
          "meta": {
            "title": "部门管理",
            "icon": "tree",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "Post",
          "path": "post",
          "hidden": false,
          "component": "system/post/index",
          "meta": {
            "title": "岗位管理",
            "icon": "post",
            "noCache": false,
            "link": null
          }
        },
        {
          "name": "Dict",
          "path": "dict",
          "hidden": false,
          "component": "system/dict/index",
          "meta": {
            "title": "字典管理",
            "icon": "dict",
            "noCache": false,
            "link": null
          }
        }
      ]
    }
  ]
}